package com.example.shirodemo.properties;

import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

@Data
@SpringBootConfiguration
@PropertySource(value = {"classpath:shiro.properties"})
@ConfigurationProperties(prefix = "shiro")
public class ShiroProperties {
    private String loginUrl;

    private String successUrl;

    private String logoutUrl;

    private String unauthorizedUrl;

    private String anonUrl;

    private int cookieTimeout;

    private long sessionTimeout;
}
